package com.tyqx.hashchainbackend.service;

import com.tyqx.hashchainbean.module.SysUserRole;
import com.tyqx.hashchainbean.vo.SysUserRoleSave;
import com.tyqx.hashchainbean.vo.SysUserRoleVO;
import hashchainutil.common.Page;

import java.util.List;
import java.util.Map;


public interface SysUserRoleService {

    public SysUserRole getById(Long urId)throws Exception;

    public List<SysUserRole>	getListByMap(Map<String, Object> param)throws Exception;

    public Integer getCountByMap(Map<String, Object> param)throws Exception;

    public Integer save(SysUserRoleSave sysUserRoleSave)throws Exception;

    public Integer modify(SysUserRole sysUserRole)throws Exception;

    public Integer removeById(Long urId)throws Exception;

    public Page<List<SysUserRole>> queryPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize)throws Exception;

    public List<SysUserRoleVO> getSysRoleByUserId(Long urUserId);

    public Integer removeByUrRoleId(Long urRoleId)throws Exception;

    public Integer removeByUrUserId(Long urUserId)throws Exception;
}
